package com.gxa.hualianeshop.entity.pojo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author bill
 * @date 2023/7/19 15:29
 */
@Data
@Document(collection = "bannerList")
public class Banner implements Serializable {

    @Field("id")
    private String id;

    @Field("title")
    private String title;

    private String image;

    private String url;

    private String position;

    private LocalDateTime created;

    public static final String HOME="home";
    public static final String JD="jd";
    public static final String SHOUJI="shouji";


}
